package com.ruoyi.web.warehouse.mapper;

import java.util.List;
import com.ruoyi.web.warehouse.domain.Warehouse;

/**
 * warehouseMapper接口
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
public interface WarehouseMapper 
{
    /**
     * 查询warehouse
     * 
     * @param cWhCode warehouse主键
     * @return warehouse
     */
    public Warehouse selectWarehouseByCWhCode(String cWhCode);

    /**
     * 查询warehouse列表
     * 
     * @param warehouse warehouse
     * @return warehouse集合
     */
    public List<Warehouse> selectWarehouseList(Warehouse warehouse);

    /**
     * 新增warehouse
     * 
     * @param warehouse warehouse
     * @return 结果
     */
    public int insertWarehouse(Warehouse warehouse);

    /**
     * 修改warehouse
     * 
     * @param warehouse warehouse
     * @return 结果
     */
    public int updateWarehouse(Warehouse warehouse);

    /**
     * 删除warehouse
     * 
     * @param cWhCode warehouse主键
     * @return 结果
     */
    public int deleteWarehouseByCWhCode(String cWhCode);

    /**
     * 批量删除warehouse
     * 
     * @param cWhCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseByCWhCodes(String[] cWhCodes);
}
